package com.ecnu.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ecnu.common.core.domain.AjaxResult;
import com.ecnu.common.core.domain.model.LoginUser;
import com.ecnu.system.domain.Project;
import com.ecnu.system.domain.ProjectReview;
import com.ecnu.system.domain.dto.ProReviewDTO;
import com.ecnu.system.domain.vo.ProjectViewVO;

import java.util.List;

public interface IProjectReviewService  extends IService<ProjectReview> {
    AjaxResult saveByProId(Project project, LoginUser loginUser);

    AjaxResult updateByProId(ProReviewDTO dto, Project project, LoginUser loginUser);

    List<ProjectViewVO> selectList(LoginUser loginUser, String pageDomain);

    AjaxResult selectReviewInfo(String id, String proId);

    AjaxResult selectInfo(String id);

    List<ProjectViewVO> mySubmissionList(LoginUser loginUser, String name);
}
